home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v9n09.arc
/
POPP2.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-04-09
|
701b
|
29 lines
:==========================================================:
: POPP2.BAT :
: Retrieve path from "stack" of setpath variables. :
:==========================================================:
@echo off
set N=
IF NOT "%SETPATH1%"=="" SET N=%SETPATH1%
IF NOT "%SETPATH2%"=="" SET N=%SETPATH2%
IF NOT "%SETPATH3%"=="" SET N=%SETPATH3%
if "%N%"=="" goto ERROR
PATH %N%
set N=
IF NOT "%SETPATH1%"=="" SET N=SETPATH1
IF NOT "%SETPATH2%"=="" SET N=SETPATH2
IF NOT "%SETPATH3%"=="" SET N=SETPATH3
set %N%=
set N=
goto END
:ERROR
echo.
echo POPPATH ERROR: Path stack is empty...
echo.
:END